public class SessionIdController {
public String baseurl{get;set;}
public System.URL urlsys{get;set;}

public SessionIdController(){

    baseurl=URL.getSalesforceBaseUrl().gethost();

    
}

}